<div class="col_02" id="rightside">
	<div class="col_02_01" id="sysContent_box">
		<div class="main-wrap">
				<div class="m-t"><h2 class="hl">View Resume</h2><div style="float:right">{$aliasbutton} {$editbutton} {$publicviewbutton}</div></div>
				{if $content!=''}
					<p>{$content}</p>
				{/if}
				{if $err!=''}
				<p style="color:red">{$err}</p>
				{/if}
				<div class="m-c">
						<form name="search" method="post" action="/jobaction.php">
									<div class="resume_detais_wrapper" id="resume_detais_wrapper">
										<div class="details_summary">																					
											<div class="avatar">
												<a href="#" class="img-avatar"><img src="uploadfiles/resumes/{$rs.re_upload}" width="120" height="120" alt="photo here" title="photo here" /></a>
											</div>
											<h2 class="name">{$name}</h2>
											<p class="blue">{$rs.re_crtjobtitle}</p>
											<p class="blue">
											{if $rs.re_usertype == 'recruiter'}
											{if $rs.re_address1 !=''}{$rs.re_address1},{/if}
											{if $rs.re_address2 !=''}{$rs.re_address2}, {/if}
											{/if}
											{if $rs.re_locity != ''}{$rs.re_locity}, {/if}
											{if $rs.re_lostate != ''}{$rs.re_lostate}, {/if}
											{if $rs.re_locountry != ''}{$rs.re_locountry}{/if}
											</p>
											
										</div>
										<div class="wrap">
											<div class="tabs-common tab-title">
												<h4>Candidate Record</h4>
											</div>
											<div class="details-desc">		
												<ul class="details_fields">
													<li><span class="field_n">Posted:</span><em>{$rs.re_regtime}</em></li>
													<li><span class="field_n">User:</span><em>{$rs.re_usertype}</em> </li>												
													<li><span class="field_n">Job Search Status:</span><em>{$rs.re_jobsearchstatus}</em></li>
												</ul>
											</div>
										</div>
										{if $rs.re_usertype == 'recruiter'}
										<div class="wrap">
											<div class="tabs-common tab-title">
												<h4>Contact Details</h4>
											</div>
											<div class="details-desc">
												<ul class="details_fields">
													<li><span class="field_n">Recruiter Contact: <a href="recdetail.php?id={$rs.re_uid}"><img border="0" align="absmiddle" src="images/0441.png"></a></span><em>	{$rs.re_phone2} </em></li>
												</ul>
											</div>
											
										</div>
										{else}
										<div class="wrap">
											<div class="tabs-common tab-title">
												<h4>Contact Details</h4>
											</div>
											<div class="details-desc">
												<ul class="details_fields">
													{if $rs.ifshow_email == 1}<li><span class="field_n">Email: </span><em>{$rs.re_email}</em></li>{/if}
													{if $rs.ifshow_phone1 == 1}<li><span class="field_n">Phone: </span><em>{$rs.re_phone1}</em></li>{/if}
													{if $rs.ifshow_address1 == 1}<li><span class="field_n">Address: </span><em>{$rs.re_address1}</em></li>{/if}
													{if $rs.ifshow_address2 == 1 && $rs.re_address2 != ''}<li><span class="field_n"> </span><em>{$rs.re_address2}</em></li>{/if}
													<li><span class="field_n">Location: </span><em>{if $rs.ifshow_locity == 1}{$rs.re_locity}{/if}{if $rs.ifshow_lostate == 1},{$rs.re_lostate}{/if}{if $rs.ifshow_locountry == 1},{$rs.re_locountry}</em>{/if}</li>
												</ul>
											</div>
											
										</div>
										{/if}
										<div class="wrap">
											<div class="tabs-common tab-title">
												<h4>Desired Position </h4>
											</div>
											<div class="details-desc">
												<ul class="details_fields">
													{if $rs.re_jobtype}<li><span class="field_n">Type:</span><em>{$rs.re_jobtype}</em></li>{/if}
													{if $rs.re_jobindustry}<li><span class="field_n">Industry:</span><em>{$rs.re_jobindustry}</em> </li>{/if}	
													{if $rs.re_jobtitle}<li><span class="field_n">Desired Job Title:</span><em>{$rs.re_jobtitle}</em></li>{/if}
													{if $rs.re_desiredpay}<li><span class="field_n">Base Salary:</span><em>${$rs.re_desiredpay}</em></li>{/if}
													{if $rs.re_benefits}<li><span class="field_n">Other:</span><em>{$rs.re_benefits}</em></li>{/if}
												</ul>
											</div>
										</div>
										<div class="wrap">
											<div class="tabs-common tab-title">
												<h4>Qualifications  </h4>
											</div>
											<div class="details-desc">
												<ul class="details_fields">
													{if $rs.re_schoolattend}<li><span class="field_n">Schools Attended:</span><em>{$rs.re_schoolattend}</em></li>{/if}
													{if $rs.re_edulevel}<li><span class="field_n">Highest Education:</span><em>{$rs.re_edulevel}</em> </li>	{/if}			
													{if $rs.re_proflicense}<li><span class="field_n">Licenses/Certification:</span><em>{$rs.re_proflicense}</em></li>{/if}
													{if $rs.re_mgmt}<li><span class="field_n">Work Experience:</span><em>{$rs.re_mgmt}</em></li>{/if}
													{if $rs.re_profit}<li><span class="field_n">Profit & Loss Responsibility:</span><em>{$rs.re_profit}</em></li>{/if}
													{if $rs.re_spoken}<li><span class="field_n">Spoken Languages:</span><em>{$rs.re_spoken}</em></li>{/if}
													{if $rs.re_prolang}<li><span class="field_n">Programming Language:</span><em>{$rs.re_prolang}</em></li>{/if}
													<li><span class="field_n">Patent/IP Owner:</span><em>{if $rs.re_ip == 1}Yes{else}No{/if}</em></li>
													<li><span class="field_n">U.S. Government Clearance:</span><em>{if $rs.re_ussecurity == 1}Yes{else}No{/if}</em></li>
													{if $rs.re_authorize}<li><span class="field_n">Authorized to work in the</span>
														<br/>	
														<span class="field_n">following Country:</span><em>{$rs.re_authorize}</em>
													</li>{/if}
												</ul>
											</div>
										</div>
										<div class="wrap">
											<div class="tabs-common tab-title">
												<h4>Resume Details </h4>
											</div>
											<div class="details-desc">
												<p class="details-description">{$rs.re_detail}
												</p>
											</div>
										</div>
										
										<div class="wrap">

											<div class="tabs-common tab-title">
												{if $utype =="candidate"||$rs.re_usertype=="candidate"}
												<h4>More About Me... </h4>
												{else}
												<h4>About The Candidate </h4>
												{/if}
											</div>
											<div class="details-desc">
												{if $utype =="candidate"||$rs.re_usertype=="candidate"}
													<ul class="details_fields">
														{if $rs.re_describeme}<li><span class="field_n">My family/friends would describe me as…</span><em>{$rs.re_describeme}</em></li>{/if}
														{if $rs.re_favoriatebook}<li><span class="field_n">My favoriate book is…because…</span><em>{$rs.re_favoriatebook}</em></li>{/if}
														{if $rs.re_highachieve}<li><span class="field_n">My highest achievement is…</span><em>{$rs.re_highachieve}</em></li>{/if}
														{if $rs.re_iplan}<li><span class="field_n">In 3 to 5 years, I plan to…</span><em>{$rs.re_iplan}</em></li>{/if}
														{if $rs.re_iliketo}<li><span class="field_n">When I'm not working I like to…</span><em>{$rs.re_iliketo}</em></li>{/if}
														{if $rs.re_personalweb}<li><span class="field_n">My Personal Website or Blog Link </span><em>{$rs.re_personalweb}</em></li>{/if}
														{if $rs.re_comments}<li><span class="field_n">Comments</span><em>{$rs.re_comments}</em></li>{/if}
													</ul>
												{else}
												<p class="details-description">{$rs.re_rccomment}
												</p>
												{/if}
											</div>											
										</div>
										


										<hr class="line" />
										<div class="but_wrap">
											<input type="button" class="button-secondary" value="Back" onclick="history.go(-1);"/>{$aliasbutton}
											{if ($rs.re_usertype =="recruiter" || $rs.re_usertype =="candidate") && $uid <> $rs.re_uid}
												{if $u_status == 'Trial'}
													{literal}
													<input type="button" value="Send Message" class="button-secondary" onclick="return $.fancybox({'href':'#inline1','titlePosition':'inside','transitionIn': 'none','transitionOut':'none'});" />
													{/literal}
												{else}
													<input type="button" value="Send Message" class="button-secondary" onclick="location.href='sendmessage.php?tp=resume&id={$rs.re_id}'" /> 
												{/if}
											{/if}
											{$publicviewbutton}
										</div>										
									</div>
								</form>

				</div>
		</div>
	</div>